package com.test.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类中加要不然就需在每个mapper文件中加@Mapper
 * mqtest
 * @author Gao
 */
@SpringBootApplication
@MapperScan(basePackages = "com/test/demo/dao")
public class MqtestApplication {

	public static void main(String[] args) {
		SpringApplication.run(MqtestApplication.class, args);
	}

}
